package com.eduadmin.mapper;

import com.eduadmin.entity.TeamCourseAve;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface TeamCourseAveMapper {
    // zlc 批量存入数据表
    int batchInsert(List<TeamCourseAve> teamCourseAveList);
    // 按条件查询班级学科平均分记录，返回对象列表
    List<TeamCourseAve> getQueTeamCourseAve(Map<String,Object> paraMap);
    // 按条件查询班级学科平均分记录的条数
    int getTeamCourseAveNumberByParams(Map<String,Object> paraMap);
    // 根据条件（学期&&年级&&考试&&分类）删除所有的上线情况记录，返回1
    int deleteByParams(Map<String,Object> paraMap);

    int deleteByPrimaryKey(Integer teamCourseAveId);

    int insert(TeamCourseAve record);

    int insertSelective(TeamCourseAve record);

    TeamCourseAve selectByPrimaryKey(Integer teamCourseAveId);

    int updateByPrimaryKeySelective(TeamCourseAve record);

    int updateByPrimaryKey(TeamCourseAve record);
}